Skip to content

Set OMP_NUM_THREADS for flow2supera - #94

Open
mjkramer wants to merge 2 commits into
mainfrom
f2s_omp_num_threads
Open

Set OMP_NUM_THREADS for flow2supera#94
mjkramer wants to merge 2 commits into
mainfrom
f2s_omp_num_threads

Conversation

@mjkramer

Copy link
Copy Markdown
Member

When flow2supera runs DBSCAN, it spawns a bunch of threads. The threading doesn't seem to benefit performance, and it greatly limits the number of parallel flow2supera processes that can be run before everything slows to a crawl. Setting OMP_NUM_THREADS to 1 doesn't slow down flow2supera much (if it all) in my experience, and allows every core to be used efficiently for its own flow2supera process.

mjkramer added 2 commits July 16, 2026 19:41
When flow2supera runs DBSCAN, it spawns a bunch of threads. The threading doesn't seem to benefit performance, and it greatly limits the number of parallel flow2supera processes that can be run before everything slows to a crawl. Setting `OMP_NUM_THREADS` to 1 doesn't slow down flow2supera much (if it all) in my experience, and allows every core to be used efficiently for its own flow2supera process.
@mjkramer
mjkramer marked this pull request as ready for review July 17, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant